package org.rcloud.io.mapper;

import com.alibaba.fastjson.JSONObject;
import org.rcloud.io.model.Ditu;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DituMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Ditu record);

    int insertSelective(Ditu record);

    Ditu selectByPrimaryKey(Integer id);

    List<Ditu> select();

    int updateByPrimaryKeySelective(Ditu record);

    int updateByPrimaryKey(Ditu record);

    List<Ditu> selectByNum(String num);

    List<Ditu> selectAll();

    Ditu selectBydd(Ditu id);

    List<Ditu> mapByOther(JSONObject record);
}